Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry S

Total Complexity 42
Dependencies 3
Dependents 6
Total lines 398
Lines of code 189
Logical lines of code 66
Comment lines 171
Methods 20
Properties 5

Methods 20

Method Rating Maintainability Complexity Lines of code
add_data()
S
55 6 22
format_page_resource()
S
57 5 17
add()
S
61 5 13
get_core_data()
S
54 2 19
enqueue_asset_data()
S
58 2 16
register_page_id()
S
70 3 6
initialize_core_data()
S
60 2 14
debug()
S
79 2 3
hydrate_api_request()
S
72 2 5
execute_lazy_data()
S
72 2 5
get_order_statuses()
S
66 2 8
get_store_pages()
S
61 1 13
get_currency_data()
S
61 1 12
init()
S
72 1 5
get()
S
82 1 3
exists()
S
79 1 3
get_products_settings()
S
73 1 5
register_data_script()
S
69 1 8
get_locale_data()
S
67 1 8
__construct()
S
77 1 4